package com.ruoyi.common.utils;

/**
 * 用于封装IP查询结果的省市信息
 */
public class IpRegion {

    private String province;
    private String city;

    private String district;

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public IpRegion(String province, String city) {
        this.province = province;
        this.city = city;
    }
    public IpRegion() {
        super();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "IpRegion{" +
                "province='" + province + '\'' +
                ", city='" + city + '\'' +
                '}';
    }
}

